#include <iostream>

#include "config.h"

#ifdef USE_OUT_ADD
#include "main.h"
#else
#include "add.h"
#endif

void callAdd(){
    int left = 100;
    int right = 20;
#ifdef USE_OUT_ADD
    std::cout << "add " << left << "+" <<  right << " equal to " << out_add(left, right) << std::endl;
#else
    std::cout << "add " << left << "+" <<  right << " equal to " << add(left, right) << std::endl;
#endif
}

#include "base.h"
void callBase(){
    base();
}


int main(int argc, char * argv[])
{
    std::cout << "hello world" << std::endl;
    callBase();
    callAdd();
    return 0;
}
